<?php

namespace App\Services;

use Dcat\Admin\Admin;
use Exception;
use App\Models\Config;
use Illuminate\Support\Facades\Mail;
use Torann\GeoIP\Facades\GeoIP;

class UtilsService
{



    /**
     * @throws Exception
     */
    public function __construct()
    {

    }

    public function ipTo($ip)
    {

        return geoip($ip)->toArray();
    }

}
